<layout name="Layout/base" />
<form class="form-horizontal" method="post" action="{:U('Home/User/loginHandle')}">
    <div class="form-group">
        <label for="" class="control-label col-sm-2">邮箱/手机号</label>
        <div class="col-sm-10">
            <input name="username" type="text" class="form-control" placeholder="邮箱或手机号">
        </div>
    </div>
    <div class="form-group">
        <label for="" class="control-label col-sm-2">密码</label>
        <div class="col-sm-10">
            <input name="password" type="password" class="form-control" placeholder="密码">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2">
            <button type="submit" class="btn btn-success">登录</button>
        </div>
    </div>
</form>